package com.xsdl.combination.file;

public class FileNode implements Node {

    private String fileId;

    private String fileName;

    private int fileSize;

    public FileNode(String fileId, String fileName, int fileSize) {
        this.fileId = fileId;
        this.fileName = fileName;
        this.fileSize = fileSize;
    }

    @Override
    public int directoryCount() {
        return 0;
    }

    @Override
    public int fileCount() {
        return 1;
    }

    @Override
    public int fileSize() {
        return fileSize;
    }

}
